import React from 'react'
import { Route } from 'react-router'
import { Switch } from 'react-router'
import ModifyDataCategoryList from'./ModifyDataCategoryList'
import SpecificModifyDataCategory from'./SpecificModifyDataCategory'

export default function ModifyManufacturer() {
    return (
        <Switch>
            <Route path='/siteManage/modifyDataCategory/:id' component={SpecificModifyDataCategory} />
            <Route path='/siteManage/modifyDataCategory' exact={true} component={ModifyDataCategoryList} />
        </Switch>
    )
}